<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link href="https://cdn.bootcdn.net/ajax/libs/Swiper/8.0.6/swiper-bundle.min.css" rel="stylesheet">

</head>

<body class="dpflex fdc">
    <main class="flex1">
        <!-- 轮播图 -->
        <div class="swiper-box">
            <div class="swiper">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <img src="../img/index-swiper-bg1.jpg" alt="">
                    </div>
                    <div class="swiper-slide">
                        <img src="../img/index-swiper-bg2.jpg" alt="">
                    </div>
                    <div class="swiper-slide">
                        <img src="../img/index-swiper-bg3.jpg" alt="">
                    </div>
                </div>
                <!-- 如果需要分页器 -->
                <div class="swiper-pagination"></div>

            </div>
        </div>
        <!-- 下面内容部分 -->
        <div class="content">
            <!-- 排名 -->
            <div class="dpflex jcsb">
                <div class="rank">
                    <p>今日排名</p>
                    <div id="rankNum"></div>
                </div>
                <div class="sum">
                    <p>累计打卡<span id="sumadd"></span> 天</p>
                    <div>
                        <p id="sumNum">今日打卡</p>
                    </div>
                </div>
            </div>
            <!-- 运动数据 -->
            <div class="dpflex jcsb mt20">
                <div class="exercise">运动数据</div>
                <div class="badge">
                    <p>累计运动徽章</p>
                    <p><span id="badgeNum"></span>枚</p>
                </div>
            </div>
            <!-- 课程训练 -->
            <div class="train mt20">课程训练</div>
            <!-- 户外活动 -->
            <div class="outdoor mt20">户外活动</div>
        </div>
    </main>
    <footer class="footer">
        <div class="active">
            <a href="./index.html">
                <i class="iconfont icon-31shouye"></i>
                <p> 首页</p>
            </a>
        </div>
        <div><a href="./personalData.html">
                <i class="iconfont icon-xintiaojiankangyundongyiliaobaohuxinshuai"></i>
                <p> 运动</p>
            </a>
        </div>
        <div><a href="./mine.html">
                <i class="iconfont icon-wode"></i>
                <p> 我的</p>
            </a>
        </div>
    </footer>
    <script src="https://cdn.bootcdn.net/ajax/libs/Swiper/8.0.6/swiper-bundle.min.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/axios/0.21.1/axios.min.js"></script>
</body>

</html>